// const a = 20
// const b = 10
// const c = 'javascript'

// const str = `my age is ${a + b} i love ${c}`
// console.log(str)


// const retailPrice = 20
// const wholeSalePrice = 16
// const type = 'retail'
// let showTxt = ''
// if (type === 'retail') {
//     showTxt = '您此次的购买单价是:' + retailPrice
// } else {
//     showTxt = '您此次购买的批发价是:' + wholeSalePrice

// }
// console.log(showTxt)


// function Price(Strings, type) {
//     let s1 = Strings[0]
//     const retailPrice = 20
//     const wholeSalePrice = 16
//     let showTxt
//     if (type === 'retail') {
//         showTxt = '购买单价是:' + retailPrice
//     } else {
//         showTxt = '购买的批发价是:' + wholeSalePrice
//     }
//     return `${s1}${showTxt}`
// }

// let showTxt = Price `您此次的${'retail'}`
// console.log(showTxt)

let s1_es5 = '我是以行' +
    '我是第二行'
console.log(s1_es5);
let s1_es6 = `我是第一行
我是第二行
`
console.log(s1_es6)